#include "cvxImage.h"
#include <stdio.h>
#include "featureTest.h"

#if 1

int main(int argc, char** argv)
{
//	FeatureTest::testSURF();
//	FeatureTest::testFAST();
//	FeatureTest::testGridFAST();
//	FeatureTest::testDevideGridFast();
	FeatureTest::testAdaptiveVideo();
	

}

#endif


#if 0

int main()
{
	string cf = string("camera_data\\camera_config_7.txt");
	CvxCanonXF105 myCamera;
	
	FILE *pf = fopen(cf.c_str(), "r");
	assert(pf);	
	int isOk = myCamera.read(pf);
	if (isOk)
	{
		vector<Point2f> pts;
		for (int y = 0; y<10; ++y)
		{
			for (int x = 0; x<5; ++x)
			{
				pts.push_back(Point2f(x*100, y*100));
			}
		}
		
		myCamera.undistortion(pts);
		int test = 1;
	}
	else
	{
		printf("can not load parameter from %s\n", cf.c_str());
	}
	return 1;
}

#endif
